<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>单路口监控</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../lib/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
    <link rel="stylesheet" href="../css/public.css" media="all">
    <style>
        .layui-card {border:1px solid #f2f2f2;border-radius:5px;}
        .icon {margin-right:10px;color:#1aa094;}
        .icon-cray {color:#ffb800!important;}
        .icon-blue {color:#1e9fff!important;}
        .icon-tip {color:#ff5722!important;}
        .layuimini-qiuck-module {text-align:center;margin-top: 10px}
        .layuimini-qiuck-module a i {display:inline-block;width:100%;height:60px;line-height:60px;text-align:center;border-radius:2px;font-size:30px;background-color:#F8F8F8;color:#333;transition:all .3s;-webkit-transition:all .3s;}
        .layuimini-qiuck-module a cite {position:relative;top:2px;display:block;color:#666;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:14px;}
        .welcome-module {width:100%;height:210px;}
        .panel {background-color:#fff;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}
        .panel-body {padding:10px}
        .panel-title {margin-top:0;margin-bottom:0;font-size:12px;color:inherit}
        .label {display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;margin-top: .3em;}
        .layui-red {color:red}
        .main_btn > p {height:40px;}
        .layui-bg-number {background-color:#F8F8F8;}
        .layuimini-notice:hover {background:#f6f6f6;}
        .layuimini-notice {padding:7px 16px;clear:both;font-size:12px !important;cursor:pointer;position:relative;transition:background 0.2s ease-in-out;}
        .layuimini-notice-title,.layuimini-notice-label {
            padding-right: 70px !important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important;}
        .layuimini-notice-title {line-height:28px;font-size:14px;}
        .layuimini-notice-extra {position:absolute;top:50%;margin-top:-8px;right:16px;display:inline-block;height:16px;color:#999;}
        
        .small-monitors .layui-col-xs6 video:hover{cursor:pointer;}
        .camera-area-slelect tr td {border: none;}
        .record-table .layui-table-cell {padding: 0 5px;}
        .layui-form-item .layui-input-inline {width:300px;}
    </style>
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md8">
                <div class="layui-card">
                    <div class="layui-card-header"><i class="fa fa-desktop icon"></i>实时监控画面</div>
                    <div class="layui-card-body">
                        <video autoplay loop muted id="single-monitor-video" style="width: 100%;min-height:100%;">
                            <!-- <source src="http://localhost:8080/file-server/test-1.mp4" type="video/mp4"> -->
                        </video>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-cog icon icon-tip"></i>摄像头切换</div>
                            <div class="layui-card-body small-monitors">
                                <div class="layui-row layui-col-space10">
                                    <div class="layui-col-xs6">
                                        <video autoplay loop muted style="width: 100%;min-height:100px;"><source src="http://localhost:8080/file-server/test-4.mp4" type="video/mp4"></video>
                                    </div>
                                    <div class="layui-col-xs6">
                                        <video autoplay loop muted style="width: 100%;min-height:100px;"><source src="http://localhost:8080/file-server/test-2.mp4" type="video/mp4"></video>
                                    </div>
                                    <div class="layui-col-xs6">
                                        <video autoplay loop muted style="width: 100%;min-height:100px;"><source src="http://localhost:8080/file-server/test-1.mp4" type="video/mp4"></video>
                                    </div>
                                    <div class="layui-col-xs6">
                                        <video autoplay loop muted style="width: 100%;min-height:100px;"><source src="http://localhost:8080/file-server/test-3.mp4" type="video/mp4"></video>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md12">

                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-map-marker icon icon-tip"></i>区域选择</div>
                            <div class="layui-card-body layui-text">
                                <!-- <form class="layui-form camera-area-slelect" action=""> -->
                                    <table class="layui-table camera-area-slelect" border="0" frame="void">
                                        <colgroup> <col width="30%"> <col> </colgroup>
                                        <tbody>
                                            <tr>
                                                <td>当前省市县</td>
                                                <td><span class="my-province">湖南</span> / <span class="my-city">长沙</span> / <span class="my-district">天心区</span></td>
                                            </tr>
                                            <tr>
                                                <td>行政区划</td>
                                                <td><input type="text" name="" placeholder="请输入" autocomplete="off" class="layui-input" id="my-area"></td>
                                            </tr>
                                            <tr>
                                                <td>路口位置</td>
                                                <td><input type="text" name="" placeholder="默认：全部" autocomplete="off" class="layui-input" id="cur-cross"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header"><i class="fa fa-list-alt icon"></i>该路口违法违章记录</div>
                    <div class="layui-card-body record-table">
                        <fieldset class="table-search-fieldset">
                            <legend>设置时间范围</legend>
                            <div style="margin: 10px 10px 10px 10px">
                                <form class="layui-form layui-form-pane" action="">
                                    <div class="layui-form-item">
                                        <div class="layui-inline">
                                            <label class="layui-form-label">日期范围</label>
                                            <div class="layui-input-inline" lay-key="7">
                                                <input type="text" autocomplete="off" class="layui-input" id="single-date" placeholder=" - " lay-key="11">
                                            </div>
                                            <div class="layui-inline">
                                                <button type="submit" class="layui-btn layui-btn-primary" lay-submit="" lay-filter="data-search-btn"><i class="layui-icon"></i> 确 定</button>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </fieldset>
                        <table class="layui-hide" id="cur-illegal-table" lay-filter="cur-illegal-filter"></table>
                        <script type="text/html" id="cur-illagal-bar">
                            <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">校对</a>
                            <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a>
                        </script>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="../js/lay-config.js?v=1.0.4" charset="utf-8"></script>
<script>
    var comps = ['layer', 'miniTab', 'tableSelect', 'laydate', 'table'];
    layui.use(comps, function () {
        var $ = layui.jquery,
            layer = layui.layer,
            miniTab = layui.miniTab,
            tableSelect = layui.tableSelect,
            laydate = layui.laydate,
            table = layui.table;

        miniTab.listen();

        /**
         * 监控视角切换
         **/
        $('#single-monitor-video').append('<source src="http://localhost:8080/file-server/test-2.mp4" type="video/mp4">');
        $('body').on('click', '.small-monitors video', function () {
            let src = $(this).children('source').attr('src');
            $('#single-monitor-video').children('source').attr('src', src);
            $('#single-monitor-video').load();
        });

        /**
         * 所属交警大队、路口位置的下拉选取
         **/
        tableSelect.render({
            elem: '#my-area',	// 定义输入框input对象 必填
            checkedKey: 'id', // 表格的唯一建值，非常重要，影响到选中状态 必填
            searchKey: 'keyword',	// 搜索输入框的name值 默认keyword
            searchPlaceholder: '关键词搜索',	// 搜索输入框的提示文字 默认关键词搜索
            height: '350',  // 自定义高度
            width: '350',  // 自定义宽度
            table: {	// 定义表格参数，与LAYUI的TABLE模块一致，只是无需再定义表格elem
                url: '../api/areaSelect.json',
                cols: [[
                    { type: 'radio' },
                    { field: 'id', title: '编号' },
                    { field: 'username', title: '交警大队' },
                    { field: 'addr', title: '地址' }
                ]]
            },
            done: function (elem, data) {
                // 选择完后的回调，包含2个返回值 elem:返回之前input对象；data:表格返回的选中的数据 []
                // 拿到data[]后 就按照业务需求做想做的事情啦~比如加个隐藏域放ID...
                var NEWJSON = []
                layui.each(data.data, function (index, item) {
                    NEWJSON.push(item.username)
                })
                elem.val(NEWJSON.join(","))
            }
        });
        tableSelect.render({
            elem: '#cur-cross',	// 定义输入框input对象 必填
            checkedKey: 'id', // 表格的唯一建值，非常重要，影响到选中状态 必填
            searchKey: 'keyword',	// 搜索输入框的name值 默认keyword
            searchPlaceholder: '关键词搜索',	// 搜索输入框的提示文字 默认关键词搜索
            height: '350',  // 自定义高度
            width: '350',  // 自定义宽度
            table: {	// 定义表格参数，与LAYUI的TABLE模块一致，只是无需再定义表格elem
                url: '../api/cross.json',
                cols: [[
                    { type: 'radio' },
                    { field: 'id', title: '编号' },
                    { field: 'addr', title: '地址' }
                ]]
            },
            done: function (elem, data) {
                // 选择完后的回调，包含2个返回值 elem:返回之前input对象；data:表格返回的选中的数据 []
                // 拿到data[]后 就按照业务需求做想做的事情啦~比如加个隐藏域放ID...
                var NEWJSON = []
                layui.each(data.data, function (index, item) {
                    NEWJSON.push(item.addr)
                })
                elem.val(NEWJSON.join(","))
            }
        });
        // 默认值 只需要在触发input上添加 ts-selected="1,2,3" 属性即可 值需与checkedKey对应
        
        /**
         * 时间范围选择
         **/
        laydate.render({
            elem: '#single-date',
            // 设置开始日期、日期日期的 input 选择器
            // 数组格式为 2.6.6 开始新增，之前版本直接配置 true 或任意分割字符即可
            type: 'datetime',
            range: true,
            format: 'yyyy-MM-dd HH:mm'
        });

        /**
         * 违章违法信息收集表
         **/
        table.render({
            elem: '#cur-illegal-table',
            url: '../api/crossIllegal.json',
            toolbar: 'default',
            defaultToolbar: ['filter', 'exports', 'print', {
                title: '提示',
                layEvent: 'LAYTABLE_TIPS',
                icon: 'layui-icon-tips'
            }],
            cols: [[
                {type: "checkbox", width: 50},
                {field: 'id', width: 63, title: '编号', sort: true},
                {field: 'license', width: 80, title: '车牌号'},
                {field: 'licenseType', width: 89, title: '车牌类型', sort: true},
                {field: 'time', width: 131, title: '违法时间', align:'center', sort: true},
                {field: 'illegalType', width: 66, title: '违法类型'},
                {field: 'illegalDscn', width: 123, title: '违法描述'},
                {field: 'carDscn', width: 169, title: '车辆描述'},
                {field: 'licenseScreen', width: 116, title: '车牌截图', align:'center', templet: function(imgData) {
                    return '<img src="' + imgData.licenseScreen + '" style="width:100%; height:25px;"/>';
                }},
                {field: 'speed', width: 65, title: '车速', sort: true},
                {field: 'direction', width: 60, title: '方向'},
                {field: 'lane', width: 60, title: '车道'},
                {title: '操作', minWidth: 100, toolbar: '#cur-illagal-bar', align: "center"}
            ]],
            limits: [10, 15, 20, 25, 50, 100],
            limit: 15,
            page: true,
            skin: 'line'
        });

        /**
         * 表格右侧tool监听事件
         */
         table.on('tool(cur-illegal-filter)', function (obj) {
            var data = obj.data;
            console.log(data);
            if (obj.event === 'edit') {
                var index = layer.open({
                    title: '校对系统记录的违法信息',
                    type: 2,
                    shade: 0.2,
                    maxmin: true,
                    shadeClose: true,
                    area: ['100%', '100%'],
                    content: '../page/table/single-check.html',
                    success: function(layerdoc, index) {
                        // success会携带两个参数，分别是当前层DOM、当前层索引。
                        // 获取新开的iframe的body dom
                        var body = layer.getChildFrame('body', index);
                        (function(data, bodydoc) {
                            Object.keys(data).forEach(function(key) {
                                if (key == 'licenseScreen') {
                                    bodydoc.find('#licenseScreen').attr('src', data[key]);
                                }
                                bodydoc.find('.'+key).val(data[key]);
                            })
                        })(data, body);
                    }
                });
                $(window).on("resize", function () {
                    layer.full(index);
                });
                return false;
            } else if (obj.event === 'delete') {
                layer.confirm('确认删除？该操作不可撤回！', function (index) {
                    obj.del();
                    layer.close(index);
                });
            }
        });

        // 偷懒专用，将静态数据转成json文件
        // var res = {
        //     "code": 0,
        //     "msg": "",
        //     "count": 0,
        //     "data": []
        // }
        // var adds = ["长沙市天心区书院路的赤岭路路口至新中路路口路段","长沙市天心区书院路的西湖路路口至劳动路路口路段","长沙市天心区书院路与赤岭路交叉路口","长沙市天心区友谊路的万芙路路口至韶山路路口路段","长沙市天心区新开铺路与新韶路的交叉路口","长沙市天心区万芙路与豹塘路交叉路口","长沙市天心区新开铺路与木莲冲路的交叉路口","长沙市天心区雀园路与书香路交叉路口","长沙市天心区赤岭路的芙蓉路路口至书院路路口路段","长沙市天心区正塘路的新韶路路口至正塘坡路路口路段","长沙市天心区猴子石路的富绿路路口至书院路路口路段","长沙市天心区新姚路与玉兰路交叉路口","长沙市天心区万芙路的时代阳光大道路口至中意路路口路段","长沙市天心区新韶路的五凌路路口至万芙路路口路段","长沙市天心区友谊路的刘家冲路路口至五凌路路口路段","长沙市天心区书院路与南二环交叉路口","长沙市天心区新姚路与乌塘路交叉路口","长沙市天心区雀园路与长沙绕城高速入口交叉路口","长沙市天心区万芙路的木莲冲路路口至友谊路路口路段","长沙市天心区新韶路与五凌路交叉路口","长沙市天心区竹塘路的书院路路口至芙蓉路路口路段","长沙市天心区书香路与新韶路交叉路口","长沙市天心区书院路的劳动路路口至白沙路路口路段","长沙市天心区太平路的坡子街至解放西路路段","长沙市天心区西湖路的湘江路路口至书院路路口路段","长沙市天心区银杏路与玉兰路交叉路口","长沙市天心区坡子街的湘江路路口至太平街路口路段","长沙市天心区紫薇路的竹塘路路口至新姚路路口路段","长沙市天心区新开铺路新天小区路口","长沙市天心区新姚路的芙蓉路路口至银杏路路口路段","长沙市天心区人民路的步行街过街路口","长沙市天心区广场冲路的迴龙山巷路口至摩天轮巷路口路段","长沙市天心区雀园路与石碑路交叉路口","长沙市天心区杉木冲路与刘家冲路交叉路口","长沙市天心区刘家冲路的豹塘路路口至雀园路路口路段","长沙市天心区黄土岭路的南湖路路口至天心一中路段","长沙市天心区友谊路与南园路交叉路口","长沙市天心区坡子街与黄兴后街交叉路口","长沙市天心区太平路的人民西路至坡子街路段","长沙市天心区新姚路的新韶路路口至省政府西门路口路段","长沙市天心区新韶路与刘家冲路交叉路口","长沙市天心区广场冲路的摩天轮巷路口至劳动路路口路段","长沙市天心区高云路的芙蓉南路至月塘路路段","长沙市天心区殷家冲路的湘江路路口至书院路路口路段","长沙市天心区新开铺路的国防科技大学炮兵学院门口","长沙市天心区豹塘路的芙蓉路路口至园艺路路口路段","长沙市天心区三王街的解放路路口至坡子街路口路段","长沙市天心区书香路与友谊路交叉路口","长沙市天心区坡子街的太平街路口至三王街路口路段","长沙市天心区正塘坡路的万芙路路口至韶山路路口路段","长沙市天心区黄土岭路与南湖路交叉路口","长沙市天心区杉木冲路与五凌路交叉路口","长沙市天心区五凌路的友谊路路口至新韶路路口路段","长沙市天心区书院路长沙市天心区书院路的西湖路路口至劳动路路口路段","长沙市天心区刘家冲路的新韶路路口至正塘坡路路口路段","长沙市天心区刘家冲路与迎新路交叉路口","长沙市天心区书香路与青山路交叉路口","长沙市天心区雀园路与君逸路交叉路口","长沙市天心区书香路的新韶路口至湘府路路段","长沙市天心区高家冲路的刘家冲路口至五凌路口路段","长沙市天心区新姚路与黑石路的交叉路口","长沙市天心区新联路的新韶路口至湘府路口路段","长沙市天心区新开铺路的中国电子科技集团公司第四十八研究所门口","长沙市天心区正塘坡路与五凌路交叉路口","长沙市天心区书院路与劳动路交叉路口","长沙市天心区雀园路与宜春路交叉路口","长沙市天心区君逸路的黑石铺路至雀园路路段","长沙市天心区南湖路与长坡二街交叉路口","长沙市天心区新姚路与友谊路的交叉路口","长沙市天心区君逸路与九峰路交叉路口","长沙市天心区五凌路的迎新路路口至湘府路路口路段","长沙市天心区万芙路的正塘坡路路口至迎新路口路段","长沙市天心区园艺路的豹塘路路口至雀园路路口路段","长沙市天心区水厂路长沙市水厂路的湘江路路口至书院路路口路段","长沙市天心区万芙路的芙蓉路路口至木莲冲路路口路段","长沙市天心区刘家冲路与友谊路交叉路口","长沙市天心区杏花园巷的书院路口至冬瓜山一条巷口路段","长沙市天心区黄土岭路天心一中路口","长沙市天心区园艺路的湘府路口至高家冲路口路段","长沙市天心区友谊路的银杏路路口至芙蓉路路口路段","长沙市天心区南托街道","长沙市天心区新韶路的书院路路口至石竹路路口路段","长沙市天心区东瓜山二条巷的裕南街口至向东南路路段","长沙市天心区大托路的芙蓉路口至新开铺路口路段","长沙市天心区新姚路的杉木冲路路口至黑石路路口路段","长沙市天心区雀园路枫山路口至书香路口路段","长沙市天心区城南路街道","长沙市天心区刘家冲路的友谊路路口至新韶路路口路段","长沙市天心区木莲冲路长沙市天心区木莲冲路的银杏路路口至芙蓉路路口路段","长沙市天心区天剑路的轻院路口至南湖路口路段","长沙市天心区万芙路与友谊路交叉路口","长沙市天心区太平路长沙市天心区太平路的人民西路至坡子街路段","长沙市天心区新开铺路的友谊路至新韶路段","长沙市天心区沙河街","长沙市天心区月塘路的万家丽路至高云路路段","长沙市天心区书院路的白沙路路口至南湖路路口路段","长沙市天心区木莲冲路与林大路交叉路口","长沙市天心区福泉街的西湖路口至劳动路口路段","长沙市天心区黄土岭路的天心一中至芙蓉路路段","长沙市天心区刘家冲路的迎新路路口至湘府路路口路段","长沙市天心区新姚路长沙市天心区新姚路的芙蓉路路口至银杏路路口路段","长沙市天心区五凌路与高家冲路交叉路口","长沙市天心区新韶路的省政府北门门口","长沙市天心区裕南街的书院路口至四村街口路段","长沙市天心区竹塘路的芙蓉路路口至韶山路路口路段","长沙市天心区新开铺路与木莲路的交叉路口","长沙市天心区林大路长沙市林大路的芙蓉南路路口至木莲冲路路口路段","长沙市天心区古潭街的湘江路至人民路路段","长沙市天心区南大桥学校消防通道的书院路口至南大桥学校东门路段","长沙市天心区迎新路的刘家冲路路口至五凌路路口路段","长沙市天心区黄土岭路长沙市天心区黄土岭路与雨花路的交叉路口","长沙市天心区坡子街的三王街路口至黄兴后街路口路段","长沙市天心区林大路长沙市林大路的青园路路口至木莲冲路路口路段","长沙市天心区新开铺路与友谊路的交叉路口","长沙市天心区丽江西路的新开铺路至湘江路路段","长沙市天心区迴龙山巷的城南路路口至广场冲路路口路段","长沙市天心区书院路长沙市天心区书院路与新中路交叉路口","长沙市天心区内正巷的坡子街口至太平路口路段","长沙市天心区书香路与黑石铺路交叉路口","长沙市天心区轻院路的天剑路口至芙蓉路口","长沙市天心区万芙路的长沙汽车南站过渡站过街路口","长沙市天心区雀园路的石碑路口至宜春路口路段","长沙市天心区坡子街街道","长沙市天心区水竹街长沙市天心区水竹街的新中路路口至芙蓉路路口路段","长沙市天心区书院路与南湖路交叉路口","长沙市天心区碧云路的披塘路路口至中意路路口路段","长沙市天心区林大路长沙市林大路与木莲冲路交叉路口","长沙市天心区银杏路的木莲冲路路口至友谊路路口路段","长沙市天心区新姚路与杉木冲路交叉路口","长沙市天心区木莲冲路的芙蓉路路口至万芙路路口路段","长沙市天心区园艺路与高家冲路交叉路口","长沙市天心区新韶西路的新开铺路至湘江路路段","长沙市天心区新姚路的友谊路路口至新韶路路口路段","长沙市天心区新梅路的芙蓉南路至中意二路路段","长沙市天心区木莲冲路的万芙路路口至韶山路路口路段","长沙市天心区披塘路的书院路路口至芙蓉路路口路段","长沙市天心区三兴街的药王街路口至解放路路口路段","长沙市天心区书院路与西湖路交叉路口","长沙市天心区木莲冲路长沙市天心区木莲冲路万芙路交叉路口","长沙市天心区大古道巷的黄兴路口至蔡锷路口路段","长沙市天心区万芙路杉木冲路路口至时代阳光大道路口路段","长沙市天心区南湖路的书院路口至芙蓉路路口路段","长沙市天心区黄兴后街与解放路交叉路口","长沙市天心区南湖路的长坡二街路口至芙蓉路路口路段","长沙市天心区刘家冲路的时代阳光大道路口至豹塘路路口路段","长沙市天心区书香路与九峰路交叉路口","长沙市天心区四村街的劳动路口至向东南路口路段","长沙市天心区新姚路与银杏路交叉路口","长沙市天心区新开铺路的新中路至竹塘路路段","长沙市湘江路与解放路交叉路口","长沙市天心区新开铺路长沙市天心区新开铺路与新中路的交叉路口","长沙市天心区九峰路的君逸路至书香路路段","长沙市天心区高家冲路与刘家冲路交叉路口","长沙市天心区劳动新村巷的人民路口至学院街路口路段","长沙市天心区新开铺路与雀园路的交叉路口","长沙市天心区清真寺巷的回龙山巷口至清真寺的路段","长沙市天心区新开铺路长沙市天心区新开铺路的国防科技大学炮兵学院门口","长沙市天心区新姚路的木莲冲路路口至友谊路路口路段","长沙市天心区万家丽路的金井路至芙蓉路口段","长沙市天心区石碑路的黑石铺路至雀园路路段","长沙市天心区黄兴南路的城南路路口至","长沙市天心区赤黄路的黄土岭路路口至芙蓉路路口路段","长沙市天心区新姚路与木莲路交叉路口","长沙市天心区书院路与白沙路交叉路口","长沙市天心区万芙路的友谊路路口至新韶路路口路段","长沙市天心区正塘坡路与万芙路交叉路口","长沙市天心区青园路的林大路路口至韶山路路口路段","长沙市天心区坡子街与太平街交叉路口","长沙市天心区友谊路的万芙路路口至韶山路路口路段(执法单位:长沙市公安局交通警察支队天心交通警察大队)","长沙市天心区书院路长沙市天心区书院路与南湖路交叉路口","长沙市天心区湘江路与白沙路交叉路口","长沙市天心区黄兴后街的解放路路口至坡子街路口路段","长沙市天心区豹塘路的刘家冲路路口至石碑路路口路段","长沙市天心区书香路的雀园路至湘府路路段","长沙市天心区南托街道长沙市天心区南托街道","长沙市天心区汇丰路的玉兰路口至木莲冲路口路段","长沙市天心区新开铺路长沙市天心区新开铺路与雀园路的交叉路口","长沙市天心区雀园路宜春路口至芙蓉路路口路段","长沙市天心区木莲冲路的新姚路路口至银杏路路口路段","长沙市天心区友谊路的五凌路路口至万芙路路口路段","长沙市天心区工农桥巷的城南路路口至人民路路口的路段","长沙市天心区新开铺路的雀园路至披塘路段","长沙市天心区四村街长沙市天心区四村街的劳动路口至向东南路口路段","长沙市天心区怡长街的五一西路至药王街路段","长沙市天心区市刑侦支队南侧消防通道的刘家冲路口至万芙路口路段","长沙市天心区黄兴南路与劳动路的交叉路口"];
        // var ids = ["4013","61030","4113","4119","4141","4101","4115","80072","4111","42546","66908","84317","96257","4303","55623","59767","55894","73571","4275","4270","44049","86063","3805","44698","53619","4018","4326","4015","3889","70492","4441","137838","106474","4155","4061","81344","4090","122566","79496","69405","3994","3841","70133","55075","141241","106473","4037","4358","4254","72223","97024","4317","74233","61033","62454","140856","3986","160114","4285","211922","4428","67255","4355","4453","3886","3995","4126","134748","4386","3916","218648","82445","109282","131760","122555","140208","68395","4258","58079","218649","4009","4310","84854","81471","111165","201139","142199","67849","187273","74312","4292","41101","169685","187569","201138","67424","49915","225928","4293","173220","236765","3904","72224","210808","79347","4382","133168","225927","209716","136924","139942","180692","227450","167141","159954","182777","233072","157199","147667","225926","170405","123599","101378","98860","97514","88562","3998","86348","45704","240309","58080","81032","69377","4128","68837","4032","3990","231860","3947","3833","81326","237915","185081","60187","181820","185909","230765","190523","4193","211121","4198","4027","4286","225930","204057","4306","4438","4125","174321","137876","104157","113648","118585","133925","133604","118648","133167","133090","119059","126628","125138","138150","102553","72631","169887","74616","162648","161546","82869","151371","151354","148009","87815","146608","124440","124538"];
        // for (let i=0; i<ids.length; i++) {
        //     let row = {};
        //     row['id'] = ids[i];
        //     row['addr'] = adds[i];
        //     res['data'].push(row);
        // }
        // res.count = ids.length;
        
        // console.save = function(data, filename){
        //     if (!data) {
        //         console.error('Console.save: No data')
        //         return;
        //     }
        //     if (!filename) filename = 'console.json'
        //     if (typeof data === "object") {
        //         data = JSON.stringify(data, undefined, 4)
        //     }
        //     var blob = new Blob([data], { type: 'text/json' }),
        //         e = document.createEvent('MouseEvents'),
        //         a = document.createElement('a')
        //     a.download = filename
        //     a.href = window.URL.createObjectURL(blob)
        //     a.dataset.downloadurl = ['text/json', a.download, a.href].join(':')
        //     e.initMouseEvent('click', true, false, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null)
        //     a.dispatchEvent(e)
        // }
        // console.save(res, 'result.json');
    });
</script>
</body>
</html>
